 package org.edu.modules.pub.controller;

 import com.github.xiaoymin.knife4j.annotations.ApiSort;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import java.util.List;
 import java.util.Map;
 import org.edu.common.api.vo.Result;
 import org.edu.common.aspect.annotation.AutoLog;
 import org.edu.modules.pub.service.IVeSitePublicService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;




 @Api(tags = {"网站展示信息"})
 @RestController
 @RequestMapping({"/portal/sitePublic"})
 @ApiSort(199)
 public class VeSitePublicController
 {
/* 27 */   private static final Logger log = LoggerFactory.getLogger(org.edu.modules.pub.controller.VeSitePublicController.class);



   @Autowired
   private IVeSitePublicService veSitePublicService;




   @AutoLog("网站展示信息-资源统计")
   @ApiOperation(value = "资源统计(公开)", notes = "网站展示信息-资源统计")
   @PostMapping({"/publicInfo/statisResource"})
   public Result<?> statisResource() {
     List<Map<String, String>> resMap = this.veSitePublicService.statisResource();
/* 42 */     if (resMap == null) {
/* 43 */       return Result.error("未找到对应数据");
     }
     return Result.OK(resMap);
   }
 }



